Skip to content

Replace custom http events with aws_lambda_events#426

Merged
nmoutschen merged 7 commits into
masterfrom
update_http_events
Feb 19, 2022
Merged

Replace custom http events with aws_lambda_events#426
nmoutschen merged 7 commits into
masterfrom
update_http_events

Conversation

@calavera

@calavera calavera commented Feb 19, 2022

Copy link
Copy Markdown
Contributor

The Alb and ApiGw events in aws_lambda_events are thoroughly tested
with multiple payloads that those services generate.

Signed-off-by: David Calavera david.calavera@gmail.com

Issue #, if available:

Description of changes:

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

@calavera calavera marked this pull request as ready for review February 19, 2022 16:22
"CloudFront-Viewer-Country":[
"US"
],
"":[

@calavera calavera Feb 19, 2022

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this because empty header names are not supposed to be valid. http::HeaderMap will panic if it finds any empty name.

@nmoutschen nmoutschen added the 0.5 label Feb 19, 2022
The Alb and ApiGw events in aws_lambda_events are thoroughly tested
with multiple payloads that those services generate.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
ApiGw use $default as an identifier, but it doesn't add it
to the URI.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
@calavera calavera requested a review from nmoutschen February 19, 2022 18:12

@nmoutschen nmoutschen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! This also passes all the integration tests. 🚀

@nmoutschen nmoutschen merged commit 3d5565d into master Feb 19, 2022
@nmoutschen nmoutschen deleted the update_http_events branch February 19, 2022 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

2 participants